import copy

a = [1,2,3,4,["a","b"]]
b = a
c = copy.copy(a)
d = copy.deepcopy(a)
a.append(5)
print(a)  # [1, 2, 3, 4, ['a', 'b'], 5]
print(d)  # [1, 2, 3, 4, ['a', 'b']]
print(c)  # [1, 2, 3, 4, ['a', 'b']]

